#include <array>
#include <iostream>

using namespace std;

template <typename T,size_t N>
class Stack
{
public:
    void func()
    {
        N++;
        cout<<"func()"<<endl;
    }
private:
    int _a[N];
    int _top;
};

int main()
{
    // Stack<int,10> s1;
    // Stack<int,100> s2;
    // Stack<int,1000> s3;
    // Stack<int,10000> s4;
    // s1.func();
    // s2.func();
    // s3.func();
    // s4.func();
    array<int,10> arr;
    for(int i=0;i<10;i++)
    {
        arr[i]=i;
    }
    int a[10];
    a[13]=10;
    arr[19]=10;


    for(auto& i:arr)
    {
        cout<<i<<" ";
    }
    cout<<endl;
    return 0;
}